//
//  WSLoginView.h
//  FamilyLinkPro
//
//  Created by 江鹏 on 2023/9/7.
//  Copyright © 2023 SiterWell.Co.,Ltd. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "UITextField+WSExpansion.h"

NS_ASSUME_NONNULL_BEGIN

@protocol WSLoginViewDelegate <NSObject>

- (void)userProtocolClick;

- (void)privacyClick;

- (void)loginButtonClickWithAccount:(NSString *)account
                       withPassword:(NSString *)password;

- (void)forgetPasswordButtonClick;

@end


@interface WSLoginView : UIView

/*** 密码框 */
@property (nonatomic, strong) UITextField *passwordTF;

/*** 密码框控制显示和隐藏按钮 */
@property (nonatomic, strong) UIButton *securityButton;

@property (nonatomic, strong) UIButton *agreeButton;

/*** 登录按钮 */
@property (nonatomic, strong) UIButton *loginButton;

/*** 账号文本框 */
@property (nonatomic, strong) UITextField *accountTF;


@property (nonatomic, weak, readwrite) id<WSLoginViewDelegate> delegate;



@end

NS_ASSUME_NONNULL_END
